package com.sunshine.simplehospital.base

import android.annotation.SuppressLint
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.ViewModelProvider

/**
 * Created by sunshine on 2020/4/28
 */

@SuppressLint("Registered")
open class BaseActivity : AppCompatActivity(){
    private lateinit var viewModel: BaseViewModel

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        viewModel = ViewModelProvider(this).get(BaseViewModel::class.java)
    }
}